//
//  BYGuideHeardCell.m
//  ZhiHuiLiJiang
//
//  Created by Work on 2018/12/19.
//  Copyright © 2018年 WisdomLijiang. All rights reserved.
//热门景点-市民热议的瀑布流cell

#import "BYGuideHeardCell.h"

@implementation BYGuideHeardCell
- (id)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self){
        [self.contentView addSubview:self.HimageView];
        [self.HimageView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.right.top.bottom.equalTo(self.contentView);
        }];
    }
    return self;
}
- (UIImageView *)HimageView{
    if (!_HimageView) {
        _HimageView = [[UIImageView alloc]init];
    }
    return _HimageView;
}
-(void)setModel:(BYcitizenModel *)model{
    [self.HimageView sd_setImageWithURL:[NSURL URLWithString:model.cover] placeholderImage:[UIImage imageNamed:@""]];
}


@end
